<?php

declare(strict_types=1);

namespace app\shop\controller\api\data;

use think\Request;
use sheep\exception\SheepException;
use app\shop\model\data\Richtext as RichtextModel;
use app\shop\controller\api\ShopBase;


class Richtext extends ShopBase
{

    public function index(Request $request, $id)
    {
        $data = RichtextModel::findOrFail($id);
        return success('获取成功', $data);
    }
}
